home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmStringBaseline.z / XmStringBaseline
Encoding:
Text File  |  2003-11-18  |  1.9 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmSSSSttttrrrriiiinnnnggggBBBBaaaasssseeeelllliiiinnnneeee((((3333XXXX))))      UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV      XXXXmmmmSSSSttttrrrriiiinnnnggggBBBBaaaasssseeeelllliiiinnnneeee((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_S_t_r_i_n_g_B_a_s_e_l_i_n_e - A compound    string function    that returns
  10.       the number of    pixels between the top of the character    box
  11.       and the baseline of the first    line of    text
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.       #include <Xm/Xm.h>
  15.  
  16.       Dimension XmStringBaseline (ffffoooonnnnttttlllliiiisssstttt,,,,    ssssttttrrrriiiinnnngggg)
  17.            _X_m_F_o_n_t_L_i_s_tffffoooonnnnttttlllliiiisssstttt;
  18.            _X_m_S_t_r_i_n_g     ssssttttrrrriiiinnnngggg;
  19.  
  20.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.       _X_m_S_t_r_i_n_g_B_a_s_e_l_i_n_e returns the number of pixels    between    the
  22.       top of the character box and the baseline of the first line
  23.       of text in the provided compound string.
  24.  
  25.       ffffoooonnnnttttlllliiiisssstttt
  26.            Specifies the font list
  27.  
  28.       ssssttttrrrriiiinnnngggg
  29.            Specifies the string
  30.  
  31.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  32.       Returns the number of    pixels between the top of the
  33.       character box    and the    baseline of the    first line of text.
  34.  
  35.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  36.       _X_m_S_t_r_i_n_g_C_r_e_a_t_e(_3_X).
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.